package com.wish.base.mapper;

import com.wish.base.dto.RoomInfoDTO;
import com.wish.base.entity.RoomInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wish.base.vo.RoomInfoVO;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author group02
 * @since 2022-05-23
 */
public interface RoomInfoMapper extends BaseMapper<RoomInfo> {

    List<RoomInfo> getList(RoomInfo tbRoomInfo);

    /**
     * 房态图（分散式）
     * @param roomInfoDTO
     * @return
     */
    List<RoomInfoVO> getDisperseList(RoomInfoDTO roomInfoDTO);

    /**
     * 房态图（集中式）
     * @param roomInfoDTO
     * @return
     */
    List<RoomInfoVO> getJzList(RoomInfoDTO roomInfoDTO);

    /**
     * 详情
     * @param roomInfoDTO
     * @return
     */
    List<RoomInfoVO> findPageListDetailByJz(RoomInfoDTO roomInfoDTO);
}
